# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created: Tue Nov 29 14:04:19 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(560, 203)
        MainWindow.setMinimumSize(QtCore.QSize(460, 203))
        MainWindow.setMaximumSize(QtCore.QSize(16777215, 203))
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "FMOD Project Batch Editor", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Workspace:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.workspaceBox = QtGui.QComboBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.workspaceBox.sizePolicy().hasHeightForWidth())
        self.workspaceBox.setSizePolicy(sizePolicy)
        self.workspaceBox.setMinimumSize(QtCore.QSize(200, 0))
        self.workspaceBox.setObjectName(_fromUtf8("workspaceBox"))
        self.gridLayout.addWidget(self.workspaceBox, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "FMOD Project:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.projectPath = QtGui.QLineEdit(self.centralwidget)
        self.projectPath.setObjectName(_fromUtf8("projectPath"))
        self.horizontalLayout.addWidget(self.projectPath)
        self.browseBtn = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browseBtn.sizePolicy().hasHeightForWidth())
        self.browseBtn.setSizePolicy(sizePolicy)
        self.browseBtn.setMaximumSize(QtCore.QSize(30, 16777215))
        self.browseBtn.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.browseBtn.setObjectName(_fromUtf8("browseBtn"))
        self.horizontalLayout.addWidget(self.browseBtn)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 1, 1, 3)
        self.useEventsListCheck = QtGui.QCheckBox(self.centralwidget)
        self.useEventsListCheck.setText(QtGui.QApplication.translate("MainWindow", "Events list:", None, QtGui.QApplication.UnicodeUTF8))
        self.useEventsListCheck.setObjectName(_fromUtf8("useEventsListCheck"))
        self.gridLayout.addWidget(self.useEventsListCheck, 2, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.eventsListPath = QtGui.QLineEdit(self.centralwidget)
        self.eventsListPath.setEnabled(False)
        self.eventsListPath.setObjectName(_fromUtf8("eventsListPath"))
        self.horizontalLayout_2.addWidget(self.eventsListPath)
        self.browseEventListBtn = QtGui.QPushButton(self.centralwidget)
        self.browseEventListBtn.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.browseEventListBtn.sizePolicy().hasHeightForWidth())
        self.browseEventListBtn.setSizePolicy(sizePolicy)
        self.browseEventListBtn.setMaximumSize(QtCore.QSize(30, 16777215))
        self.browseEventListBtn.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.browseEventListBtn.setObjectName(_fromUtf8("browseEventListBtn"))
        self.horizontalLayout_2.addWidget(self.browseEventListBtn)
        self.gridLayout.addLayout(self.horizontalLayout_2, 2, 1, 1, 3)
        self.label_3 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Property:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.propertyBox = QtGui.QComboBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.propertyBox.sizePolicy().hasHeightForWidth())
        self.propertyBox.setSizePolicy(sizePolicy)
        self.propertyBox.setMinimumSize(QtCore.QSize(160, 0))
        self.propertyBox.setObjectName(_fromUtf8("propertyBox"))
        self.gridLayout.addWidget(self.propertyBox, 3, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Value:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.valueEdit = QtGui.QLineEdit(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.valueEdit.sizePolicy().hasHeightForWidth())
        self.valueEdit.setSizePolicy(sizePolicy)
        self.valueEdit.setMinimumSize(QtCore.QSize(160, 0))
        self.valueEdit.setObjectName(_fromUtf8("valueEdit"))
        self.gridLayout.addWidget(self.valueEdit, 4, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 4, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setMinimumSize(QtCore.QSize(0, 23))
        self.label_5.setText(QtGui.QApplication.translate("MainWindow", "Action:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
        self.actionBox = QtGui.QComboBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actionBox.sizePolicy().hasHeightForWidth())
        self.actionBox.setSizePolicy(sizePolicy)
        self.actionBox.setMinimumSize(QtCore.QSize(80, 0))
        self.actionBox.setObjectName(_fromUtf8("actionBox"))
        self.gridLayout.addWidget(self.actionBox, 5, 1, 1, 1)
        self.runBtn = QtGui.QPushButton(self.centralwidget)
        self.runBtn.setText(QtGui.QApplication.translate("MainWindow", "Run", None, QtGui.QApplication.UnicodeUTF8))
        self.runBtn.setObjectName(_fromUtf8("runBtn"))
        self.gridLayout.addWidget(self.runBtn, 5, 3, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 560, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.browseBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onBrowseProject)
        QtCore.QObject.connect(self.runBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onRun)
        QtCore.QObject.connect(self.useEventsListCheck, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.browseEventListBtn.setEnabled)
        QtCore.QObject.connect(self.useEventsListCheck, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.eventsListPath.setEnabled)
        QtCore.QObject.connect(self.browseEventListBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onBrowseEventsList)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        pass


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

